package com.sumainfor.pc.dev.service;

import com.sumainfor.common.util.JsonResult;

import java.util.List;
import java.util.Map;

/**
* <p>
*首页banner
* </p>
*
* @author: zhoucong
* @since:
*/
public interface BannerService {

    /**
     * <p>
     * 根据Banner上下架状态查询数量
     * </p>
     *
     * @author: zhoucong
     * @since:
     */
    Integer getBannerStatusCount(Map<String,Object> params);

    /**
     * <p>
     * 根据上下架状态查询首页Banner
     * </p>
     *
     * @author: zhoucong
     * @since:
     */
    List<Map<String,Object>> getBannerStatus(Map<String,Object> params);

    /**
     * <p>
     * 更新首页Banner上下架状态和编辑banner
     * </p>
     *
     * @author: zhoucong
     * @since:
     */
    JsonResult updateBannerStatus(Map<String,Object> params);




    /**
    * <p>
    * 删除banner
    * </p>
    *
    * @author: zhoucong
    * @since:
    */
    JsonResult deleteBanner(Map<String,Object> params);

    /**
    * <p>
    *  创建banner
    * </p>
    *
    * @author: zhoucong
    * @since:
    */
     JsonResult insertBanner(Map<String,Object> params);


}
